package org.tech4j.common.zip.api;

import org.tech4j.common.spi.ExtensionLoader;

/**
 * @program: tech4j-common
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/3 21:22
 **/
public class ZipExecutorFactory {

    private ZipExecutorFactory() {
    }

    /**
     * new instance ZipExecutor
     * @param name name
     * @return ZipExecutor
     */
    public static ZipExecutor newInstance(final String name) {
        return ExtensionLoader.getExtensionLoader(ZipExecutor.class).getJoin(name);
    }
}
